package com.fanshilz.flower2025.apps.admin.sysUser.resp;

import com.mybatisflex.annotation.RelationOneToOne;
import lombok.Data;

import java.util.List;

@Data
public class RouteItemResp {

    private Long routeId;

    private Long parentId;

    private String path;

    private String name;

    private String component;

    private String redirect;

    private String code;

    private List<RouteItemResp> children;

    @RelationOneToOne(selfField = "routeId", targetTable = "sys_route_meta", targetField = "routeId")
    private RouteMetaResp meta;

}
